<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        console.group('break语句的结果')
        for (var i=1;i<=10;i++){
            if (i%5==0){
                break;
            }
            console.log(i);
        }
        console.groupEnd();
        console.group('continue语句的结果')
        for (var i=1;i<=10;i++){
            if (i%5==0){
                continue;
            }
            console.log(i);
        }
        console.groupEnd();
    </script>
</head>
<body>

</body>
</html>